﻿/*
 * Created by SharpDevelop.
 * User: Eddie
 * Date: 4/14/2012
 * Time: 10:39 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace PathFinder
{
    // This is a test class so I'm not going to comment on this thing.....
    public class PathFinder {

        /**
         * @param args the command line arguments
         */
        public static void Main(string [] args)
        {
            string file = "pathTest.bmp";
            BitMap bmp = new BitMap ();
            byte [,,] mapArray = bmp.openFile (file);
            Node [,] nodes = bmp.translateToMap (mapArray);
            
            ShortestPath path = new ShortestPath ();
            nodes = path.path (nodes);
            bmp.outputBMP (mapArray, nodes, file);
            
            Console.Write("Press any key to continue . . . ");
            Console.ReadKey(false);
        }
    }
}